/**
 * 
 */
package sy.util;

import java.util.ArrayList;
import java.util.List;

public class Tree {
	private String noteId;
	private String text;
	private String icon;
	private TreeState state = new TreeState();
	private List<Tree> nodes = new ArrayList();
	/**
	 * @return the noteId
	 */
	public String getNoteId() {
		return noteId;
	}
	/**
	 * @param noteId the noteId to set
	 */
	public void setNoteId(String noteId) {
		this.noteId = noteId;
	}
	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}
	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}
	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}
	/**
	 * @param icon the icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}
	/**
	 * @return the state
	 */
	public TreeState getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(TreeState state) {
		this.state = state;
	}
	/**
	 * @return the nodes
	 */
	public List<Tree> getNodes() {
		return nodes;
	}
	/**
	 * @param nodes the nodes to set
	 */
	public void setNodes(List<Tree> nodes) {
		this.nodes = nodes;
	}
	

}
